package cn.iocoder.yudao.module.exam.controller.admin.knowledgegraph.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 知识图谱 Response VO")
@Data
@ExcelIgnoreUnannotated
public class KnowledgeGraphRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4390")
    @ExcelProperty("ID")
    private Integer id;

    @Schema(description = "知识编号")
    @ExcelProperty("知识编号")
    private String code;

    @Schema(description = "学科")
    @ExcelProperty("学科")
    private String subject;

    @Schema(description = "父ID", example = "6336")
    @ExcelProperty("父ID")
    private Integer parentId;

    @Schema(description = "层级深度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("层级深度")
    private Integer level;

    @Schema(description = "同级排序")
    @ExcelProperty("同级排序")
    private Integer sortOrder;

    @Schema(description = "节点类型", example = "2")
    @ExcelProperty("节点类型")
    private String nodeType;

    @Schema(description = "节点标题")
    @ExcelProperty("节点标题")
    private String title;

    @Schema(description = "节点详细内容")
    @ExcelProperty("节点详细内容")
    private String content;

    @Schema(description = "存储样式信息")
    @ExcelProperty("存储样式信息")
    private String style;

    @Schema(description = "其他扩展信息")
    @ExcelProperty("其他扩展信息")
    private String metadata;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}